package com.san.oa.domain;

import java.util.Arrays;
import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

import lombok.Data;

/**
 * 通知通告
 * 
 */
@Data
public class NotifyDO {

	/**
	 * 编号
	 */
	private Long id;

	/**
	 * 类型
	 */
	private int type;
	
	/**
	 * 类型中文描述
	 */
	private String typeDesc;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 内容
	 */
	private String content;

	/**
	 * 附件
	 */
	private MultipartFile file;

	/**
	 * 附件路径
	 */
	private String filePath;

	/**
	 * 状态
	 */
	private int status;

	/**
	 * 创建者
	 */
	private Long createUserId;

	/**
	 * 创建时间
	 */
	private Date createDate;

	/**
	 * 更新者
	 */
	private Long updateUserId;

	/**
	 * 更新时间
	 */
	private Date updateDate;

	/**
	 * 备注信息
	 */
	private String remarks;

	/**
	 * 删除标记
	 */
	private int delFlag;

	private Long[] userIds;

	@Override
	public String toString() {
		return "NotifyDO [id=" + id + ", type=" + type + ", title=" + title + ", content=" + content + ", file=" + file
				+ ", filePath=" + filePath + ", status=" + status + ", createUserId=" + createUserId + ", createDate="
				+ createDate + ", updateUserId=" + updateUserId + ", updateDate=" + updateDate + ", remarks=" + remarks
				+ ", delFlag=" + delFlag + ", userIds=" + Arrays.toString(userIds) + "]";
	}

	
}
